//
//  CustomUIView.m
//  iSeal5200
//
//  Created by heyuan on 12-12-4.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "CustomUIView.h"
#import "UIColor+ColorUtils.h"

@implementation CustomUIView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
        
    {
        self.backgroundColor = [UIColor colorWithString:@"#f1eee9"];
//        self.backgroundColor = [UIColor colorWithPatternImage:ThemeImage(@"background")];
        self.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
    }
    return self;
}

-(id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    
    if (self)
    {
        self.backgroundColor = [UIColor whiteColor];
//        self.backgroundColor = [UIColor colorWithPatternImage:ThemeImage(@"background")];
    }
    return self;
}

@end
